<template>
	<view>
		<!-- 微信提现 -->
		<view class="weixin">
			<view class="weixin-left">
				<image src="../../static/imag/icon_a1.png"></image>
				<text>提现到微信零钱</text>
			</view>
			<view class="weixin-right">
				<radio-group class="radioGroup">
					<radio color="#db3e3e" checked />
				</radio-group>
			</view>
		</view>
		<!-- 输入的金额 -->
		<view class="money maring">
			<input type="text" placeholder="请输入提现金额" v-model="moeny" />
		</view>
		<!-- 提现信息 -->
		<view class="hint maring">
			当前可提现<text>0.40积分</text>~~0.004元
		</view>
		<!-- 确认提现按钮 -->
		<view class="btn maring" @click="withdrawal">确认提现</view>
		<!--  -->
		<view class="message maring">
			<text>1.最低提现金额为1元起</text>
			<text>2.提现审核时间为1-3个工作日处理</text>
			<text>3.发起提现后，提现金额会到微信的零钱</text>
			<text>4.提现金额必须为整数,如提现1元,2元,3元</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				moeny: '' //用户输入的体现金额
			};
		},
		onLoad() {


		},
		methods: {
			// 确认体现按钮
			withdrawal() {
				let money = this.money
				console.log(money)
			}

		}
	}
</script>

<style lang="scss">
	page {
		background-color: #fff;
	}

	// 左键间距
	.maring {
		margin: 0 30rpx;
	}

	// 微信提现
	.weixin {
		height: 100rpx;
		margin: 30rpx 30rpx 40rpx;
		box-shadow: 0px 0px 30px 0px rgba(0, 0, 1, 0.1);
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0 30rpx;
		color: #888888;
		font-size: 24rpx;

		.weixin-left {
			display: flex;

			image {
				margin-right: 20rpx;
				width: 44rpx;
				height: 44rpx;
			}
		}
	}

	// 输入的金额
	.money {
		height: 60rpx;
		background-color: 88rpx;
		background-color: #d8d8d8;
		padding-left: 20rpx;
		margin-bottom: 20rpx;
		border-radius: 8rpx;

		input {
			width: 100%;
			height: 100%;
		}
	}

	// 提示
	.hint {
		font-size: 22rpx;
	}

	// 确认提现按钮 
	.btn {
		margin-top: 30rpx;
		font-size: 36rpx;
		height: 88rpx;
		text-align: center;
		line-height: 88rpx;
		background-color: #fcbe17;
		border-radius: 40rpx;
	}

	.message {
		font-size: 26rpx;

		text {
			display: block;
			margin: 20rpx 0;
		}

	}

	.radioGroup {
		width: 44rpx;
		height: 44rpx;
	}
</style>
